import request from "@/api/request.js"

/**
 * @description: 测试
 */
export  function  userTestApi(params) {
	return request({
		url:'/user/test',
		method:'GET',
		params
	})
}


/**
 * @description: 注册
 */
export  function  userRegisterApi(data) {
	return request({
		url:'/user/register',
		method:'POST',
		data
	})
}

/**
 * @description: 登录
 */

export  function  userLoginApi(data) {
	return request({
		url:'/user/login',
		method:'POST',
		data
	})
}

/**
 * @description: 用户列表
 */

export  function  userListApi(params) {
	return request({
		url:'/user/usermanage',
		method:'GET',
		params
	})
}


/**
 * @description: 角色列表
 */

export  function  userRoleListApi(params) {
	return request({
		url:'/user/rolemanage',
		method:'GET',
		params
	})
}